<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

			<?php echo  '';
			$dataInstruktur = Instruktur::model()->findAll(array('order' => 'nama_instruktur'));
		    $listInstruktur = CHtml::listData($dataInstruktur,'id', 'nama_instruktur');
		    echo $form->select2Row($model, 'tb_instruktur_id', array(
			   'data' => $listInstruktur,

			))
			; ?>

		<?php echo  '';
			$dataKelas = Kelas::model()->findAll(array('order' => 'nama_kelas'));
		    $listKelas = CHtml::listData($dataKelas,'id', 'nama_kelas');
		    echo $form->select2Row($model, 'tb_kelas_id', array(
			   'data' => $listKelas,

			))
			; ?>

		<?php echo $form->textFieldRow($model,'nama_jadwal',array('class'=>'span5','maxlength'=>100)); ?>

		<?php echo $form->textFieldRow($model,'jam_belajar',array('class'=>'span5','maxlength'=>40)); ?>

	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType' => 'submit',
			'type'=>'primary',
			'label'=>'Search',
		)); ?>
	</div>

<?php $this->endWidget(); ?>
